package com.caishi.lkx.exam.ienum.status;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @Param:
 * @return
 * @Author: huangpeng
 * @Date: 2022/1/14 15:47
 * @Description:
 */
public enum ProductCodeStatus {
    effective("有效", 1),
    used("已激活", 2),
    refund("已退款", 3),
    ;
    @Getter
    final
    String desc;

    @EnumValue
    @Getter
    final
    Integer code;

    ProductCodeStatus(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }
}
